package com.hualude.roadsign.service;

import com.hualude.roadsign.dto.DTRequestDto;
import com.hualude.roadsign.dto.DTResponseDto;
import com.hualude.roadsign.dto.LineFaultDto;

import java.util.List;

/**
 * Created by ding on 2017/8/14.
 */
public interface RoadLineFaultCheckService {
    /**
     * @Description: 故障审核DT
     * @Author: jiang-weirong
     * @Date: 2017/8/4 11:08
     */
    public DTResponseDto getRoadLineFaultCheck4DT(DTRequestDto dtRequestDto, Integer actorId, Integer orgId) throws Exception;

    /**
     * @Description: isPass：1 通过,-1: 不通过
     * @Author: jiang-weirong
     * @Date: 2017/8/4 11:08
     */
    public Integer roadLineFaultAudit(Integer isPass, String feedback, Integer lampFaultId, Integer userId) throws Exception;

    /**
     * @Description: 获取故障审核4App
     * @Author: jiang-weirong
     * @Date: 2017/8/4 18:15
     */
    public List<LineFaultDto> getRoadLineFaultCheckList4App(Integer orgId, String actorIds, Integer faultStatus, Integer count, Integer size) throws Exception;

    /**
     * @Description: 信号灯详情
     * @Author: jiang-weirong
     * @Date: 2017/8/4 19:59
     */
    public LineFaultDto getRoadLineInfo2Fault(Integer roadLineId) throws Exception;

    /**
     * @Description: 信号灯故障详情
     * @Author: jiang-weirong
     * @Date: 2017/8/4 20:25
     */
    public LineFaultDto getRoadLineFaultInfo2Fault(Integer roadLineId, Integer roadLineFaultId) throws Exception;

    /**
     * @Description: 故障list4App
     * @Author: jiang-weirong
     * @Date: 2017/8/9 17:03
     */
    public List<LineFaultDto> getRoadLineFaultReportList4App(Integer orgId, String actorIds, Integer faultStatus, Integer count, Integer size) throws Exception;
}
